<?php if( ! defined('BASEPATH')) exit('No direct script access allowed');
/* ************************************************** *\
 * @company		: NovaITech							  *	
 * @author		: van.vo@novaitech.com				  * 
 * @copyright	: 2012								  * 
 * ================================================== *
 * @date		: 04/26/2012
 * @project		: Drag & Drop
 * @description	: 
 *		- 
 *
\* ************************************************** */
class Home extends MY_Controller{
    function __construct( ){
        parent::__construct( );  
		$this->load->helper( array( 'form', 'url' ) );
		$this->load->model( 'CodeGenerator_model', '', TRUE );
		$this->load->helper('date');
		$this->load_template();
    }
	
	function index(){
        $role = $this->session->userdata('role');
		$this->data['permit'] = $this->checkpermission();
		// $this->load->view( 'employee_list', $this->data ); 
		$this->template->write( 'title', 'Spa - Trang chu' );
		// $this->template->add_css( 'resources/css/users.css' );
        $this->template->write_view( 'content', 'home.php',$this->data );
        $this->template->render();
    } 
	
}
/* End of file index.php */
/* Location: ./index.php */